﻿using CYZH.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CYZH.Service.Drought
{
    public class DHIService
    {
        public int CalculateDHI(string aiFile, string ciFile, string hiFile, string liFile, string shpfile, string saveRaster)
        {

            string msg;
            int i = CYZHLibrary.HZ.DHI.CalculateDHI(aiFile, ciFile, hiFile, liFile, shpfile, saveRaster, out msg);
            Logger.Singleton.Debug(msg);
            return i;

        }
    }
}
